The project in this folder is here to show you how MacZoop is generally used to make real applications, as well as to show off some of the more advanced classes and dialog support.
This opens PICT files into a GWorld using ZGWorldWindows, so you can look at how graphics works. Drag/Drop is supported- try dragging PICT files or clippings into an open window. (Dragging from the window is not implemented here, though to do so would be simple).
ZGWorldWindow also illustrates the correct use of the palette manager and picture utilites package to make the best use of indexed-colour screens.
It also opens a number of dialogs based on ZDialog to show the different types. Dialog 1 is a moveable modal dialog featuring buttons, icons, PICTs, edit fields, user items, pop-up controls, 'ictb' resource usage and colour. Dialog 2 is a simple non-moveable modal dialog, and Dialog 3 is modeless dialog with fields, buttons and a user item. All of them are handled by the basic ZDialog class.
Two additional demos have been added in version 1.4 and 1.4.1...
Test Progress Dialog shows how the progress dialog looks and behaves. This simply loops 500 times updating the progress bar.
Scan Folder shows off the ZFolderScanner class- it allows you to pick a folder with a standard file dialog, then it uses a progress dialog to list ever yfile in the folder hierarchy as it is encountered. It doesn't actually do anything with the files.
A new window type has been added in 1.5...
If you open a TEXT file, it will create a window using ZSortTestWindow. This is a scroller that holds a list of strings using ZArray. You can then apply the Sort and Scramble commands to the list to see how fast the sorting in ZArray operates. Try opening the file "test_strings.txt" for a nicely sortable list of names. Other text files will also work.